package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.ArrayList;
import java.util.List;

/**
 * 货物参数对象 sys_goodparameter
 * 
 * @author ruoyi
 * @date 2020-12-13
 */
public class SysGoodparameter extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 货物参数表ID */
    private Long goodParameterId;

    /** 货物表ID */
    @Excel(name = "货物表ID")
    private Long goodsId;

    /** 供应商ID */
    @Excel(name = "供应商ID")
    private Long supplierId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String goodName;

    /** 商品品牌ID */
    @Excel(name = "商品品牌ID")
    private Long brandId;

    /** 商品价格*/
    private Double goodPrice;

    /** 参数 */
    @Excel(name = "参数")
    private String goodParameters;

    /** 商品状态 0 未审核  1 审核通过 -1 审核驳回*/
    @Excel(name = "商品状态")
    private String goodStatus;

    /** 扩展字段1 */
    @Excel(name = "扩展字段1")
    private String attribite1;

    /** 扩展字段3 */
    @Excel(name = "品牌名称")
    private String attribite3;

    /** 扩展字段2 */
    @Excel(name = "扩展字段2")
    private String attribite2;

    /** 产品图片表 */
    @Excel(name = "产品图片表")
    private String imageUrl;

    /** 配选件 */
    @Excel(name = "配选件")
    private String withoption;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    private List<SysPeixuanjian> peixuanjianList=new ArrayList<SysPeixuanjian>();

    public List<SysPeixuanjian> getPeixuanjianList() {
        return peixuanjianList;
    }

    public void setPeixuanjianList(List<SysPeixuanjian> peixuanjianList) {
        this.peixuanjianList = peixuanjianList;
    }

    private List<Para> parameter=new ArrayList<Para>();

    public List<Para> getParameter() {
        return parameter;
    }

    public void setParameter(List<Para> parameter) {
        this.parameter = parameter;
    }

    public void setGoodParameterId(Long goodParameterId)
    {
        this.goodParameterId = goodParameterId;
    }

    public Long getGoodParameterId() 
    {
        return goodParameterId;
    }
    public void setGoodsId(Long goodsId) 
    {
        this.goodsId = goodsId;
    }

    public Long getGoodsId() 
    {
        return goodsId;
    }
    public void setSupplierId(Long supplierId) 
    {
        this.supplierId = supplierId;
    }

    public Long getSupplierId() 
    {
        return supplierId;
    }
    public void setGoodName(String goodName) 
    {
        this.goodName = goodName;
    }

    public String getGoodName() 
    {
        return goodName;
    }
    public void setBrandId(Long brandId) 
    {
        this.brandId = brandId;
    }

    public Long getBrandId() 
    {
        return brandId;
    }
    public void setGoodParameters(String goodParameters) 
    {
        this.goodParameters = goodParameters;
    }

    public String getGoodParameters() 
    {
        return goodParameters;
    }
    public void setGoodStatus(String goodStatus) 
    {
        this.goodStatus = goodStatus;
    }

    public String getGoodStatus() 
    {
        return goodStatus;
    }
    public void setAttribite1(String attribite1) 
    {
        this.attribite1 = attribite1;
    }

    public String getAttribite1() 
    {
        return attribite1;
    }
    public void setAttribite3(String attribite3) 
    {
        this.attribite3 = attribite3;
    }

    public String getAttribite3() 
    {
        return attribite3;
    }
    public void setAttribite2(String attribite2) 
    {
        this.attribite2 = attribite2;
    }

    public String getAttribite2() 
    {
        return attribite2;
    }
    public void setImageUrl(String imageUrl) 
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl() 
    {
        return imageUrl;
    }
    public void setWithoption(String withoption) 
    {
        this.withoption = withoption;
    }

    public String getWithoption() 
    {
        return withoption;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("goodParameterId", getGoodParameterId())
            .append("goodsId", getGoodsId())
            .append("supplierId", getSupplierId())
            .append("goodName", getGoodName())
            .append("brandId", getBrandId())
            .append("goodParameters", getGoodParameters())
            .append("goodStatus", getGoodStatus())
            .append("createTime", getCreateTime())
            .append("attribite1", getAttribite1())
            .append("attribite3", getAttribite3())
            .append("attribite2", getAttribite2())
            .append("imageUrl", getImageUrl())
            .append("withoption", getWithoption())
            .append("remarks", getRemarks())
            .toString();
    }

    public Double getGoodPrice() {
        return goodPrice;
    }

    public void setGoodPrice(Double goodPrice) {
        this.goodPrice = goodPrice;
    }
}
